class Categories {

    String name
    String description
    User user

    static belongsTo = User
    static hasMany = [todos: Todo]

    static constraints = {
        name(blank:false)
    }
    String toString()
    {
        name
    }
}
